//! tests - 测试模块

use std::future::Future;

mod driver;
mod player;

/// 异步阻塞测试块
fn async_block_test<F: Future>(future: F) {
    tokio::runtime::Builder::new_current_thread()
        .enable_all()
        .build()
        .unwrap()
        .block_on(future);
}
